<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="${staticServer}/inc/style/main.css"/>
    <link rel="stylesheet" href="${staticServer}/inc/style/page.css"/>
    <link rel="stylesheet" href="${staticServer}/css/work_today.css"/>
    <link rel="stylesheet" href="${staticServer}/css/consultant_client_tracking.css"/>
    <script src="${staticServer}/inc/js/jquery.js"></script>
    <script src="${staticServer}/inc/js/pageset.js"></script>
    <script src="${staticServer}/inc/js/submitter.js"></script>
    <script src="${staticServer}/inc/js/infopad.js?2.2"></script>
    <script src="${staticServer}/inc/js/tips.js"></script>
    <script src="${staticServer}/js/web/consultant_client_tracking_list.js?1.0"></script>

    <link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css"/>
    <script src="${staticServer}/inc/js/datepicker.js"></script>

    <script>
        var contextPath = '${contextPath}';
        var _contextPath = '${staticServer}';
       
        var path='http://120.55.241.58/';
        $(function () {
            $("#center").val("<#if zhichu??>${zhichu.regionns}</#if>")
        });

	   function queryCenterPerformance() {
	       window.location.href = "${contextPath}/index/center_performance_month_bonus.htm?&jd_center_key="+$("#jd_center_key").val()+"&startTime="+$("#startTime").val();
	   }
       $(function(){
    	   $("#jd_center_key").val("<#if jd_center_key??>${jd_center_key}</#if>");
       });
    </script>
</head>

<body>
<input type="hidden" id="traId" value="">
<div id="home_link">
    <ul>
        <li>人事统计管理</li>
        <li>&gt;</li>
        <li class="current">中心业绩奖金</li>
    </ul>
</div>
<div id="container">
    <div id="title">中心业绩奖金</div>
    <table class="simple_table" rel="nohover" style="min-width: 750px;">
        <tr>
            <td>
	        	<label>训练中心：</label>
				<select id="jd_center_key">
					<option value="">请选择中心</option>
					<#if office_List??>
						<#list office_List as list>
							<option value="${list.keyname}">${list.name}</option>
						</#list>
					</#if>
				</select>

                <label for="phone">查询月份：</label>
                <input type="text" id="startTime" rel="DATE::Y-m" value="${startTime}" size="15" maxlength="15"
                       readonly="readonly" class="DatePicker_Icon">
            </td>

            <td rowspan="4">
                <input type="button" value=" 查 询 " onclick="queryCenterPerformance()"/>
			</td>
        </tr>
    </table>
    <table>
        <tr class="fields">
            <th width="100">训练中心</th>
            <th width="100">中心业绩</th>
            <th width="100">中心邀约量</th>
            <th width="100">奖金</th>
            <th width="100">邀约成功率</th>
        </tr>

    <#if moneyList??>
        <#list moneyList as list>
        <tbody id="datas">
        <#if list.isSuccess==1>
        <tr class="even_row" style="color:#31b0d5">
        <#else >
        <tr class="even_row" >
        </#if>

            <td align="center"><#if list.center?? && list.center!=0>${list.center}</#if></td>
            <td align="center">${list.achievement}</td>
            <td align="center">${list.inviteNumber}</td>
            <td align="center">${list.bonus}</td>
            <td align="center">${list.inviteSuccess}</td>
               
            </td>
        </tr>
        </#list>
    </#if>
    </table>
</div>

<div class="emptyline"></div>
</body>
</html>